<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: comboini.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00059.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">comboini.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00059_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a6c9ae73d4727e6cf547a4b330d7bb89f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a6c9ae73d4727e6cf547a4b330d7bb89f">RECALC_CYDROP</a>&#160;&#160;&#160;-1</td></tr>
<tr class="separator:a6c9ae73d4727e6cf547a4b330d7bb89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a33695e6e265d6129fb3c5a48d0a5eb28"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a33695e6e265d6129fb3c5a48d0a5eb28">xxxCBSetDroppedSize</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, LPRECT lprc)</td></tr>
<tr class="separator:a33695e6e265d6129fb3c5a48d0a5eb28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed41a17468e66a73761d92fe3e27e354"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#aed41a17468e66a73761d92fe3e27e354">CBNcCreateHandler</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPCREATESTRUCT lpcreateStruct)</td></tr>
<tr class="separator:aed41a17468e66a73761d92fe3e27e354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13af899559060ebefbe9355a351de2cf"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a13af899559060ebefbe9355a351de2cf">xxxCBCreateHandler</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPCREATESTRUCT lpcreateStruct)</td></tr>
<tr class="separator:a13af899559060ebefbe9355a351de2cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a623170cc1b8ca4d08920f4215a4f1e0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a623170cc1b8ca4d08920f4215a4f1e0b">xxxCBCalcControlRects</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, LPRECT lprcList)</td></tr>
<tr class="separator:a623170cc1b8ca4d08920f4215a4f1e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a101a4dab407e3672663d337298ba5a0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a101a4dab407e3672663d337298ba5a0f">xxxCBNcDestroyHandler</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox)</td></tr>
<tr class="separator:a101a4dab407e3672663d337298ba5a0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d694e16180603f4bdb423c96879f0f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a2d694e16180603f4bdb423c96879f0f3">xxxCBSetFontHandler</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, HANDLE hFont, BOOL fRedraw)</td></tr>
<tr class="separator:a2d694e16180603f4bdb423c96879f0f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d6513242dc63e1f3bcddd73bce7dfba"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#a5d6513242dc63e1f3bcddd73bce7dfba">xxxCBSetEditItemHeight</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox, int dyEdit)</td></tr>
<tr class="separator:a5d6513242dc63e1f3bcddd73bce7dfba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa47ac44195e11e959bb05409968dd6e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#aa47ac44195e11e959bb05409968dd6e8">xxxCBSizeHandler</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox)</td></tr>
<tr class="separator:aa47ac44195e11e959bb05409968dd6e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abddda518cee9ef304c77bcd7839a4e30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#abddda518cee9ef304c77bcd7839a4e30">xxxCBPosition</a> (<a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a> pcbox)</td></tr>
<tr class="separator:abddda518cee9ef304c77bcd7839a4e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ab40e1665f07e95a8a1695df5618660f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00257.html#a8e3141575761c7ff2faf5a379f2c8797">LOOKASIDE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#ab40e1665f07e95a8a1695df5618660f0">ComboboxLookaside</a></td></tr>
<tr class="separator:ab40e1665f07e95a8a1695df5618660f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a6c9ae73d4727e6cf547a4b330d7bb89f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c9ae73d4727e6cf547a4b330d7bb89f">&#9670;&nbsp;</a></span>RECALC_CYDROP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RECALC_CYDROP&#160;&#160;&#160;-1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="aed41a17468e66a73761d92fe3e27e354"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed41a17468e66a73761d92fe3e27e354">&#9670;&nbsp;</a></span>CBNcCreateHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG CBNcCreateHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPCREATESTRUCT&#160;</td>
          <td class="paramname"><em>lpcreateStruct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00031">31</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">     * Save the style bits so that we have them when we create the client area</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">     * of the combo box window.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a490b72753e38d9a9362e880de2544617">styleSave</a> = pwnd-&gt;style &amp; (WS_VSCROLL | WS_HSCROLL);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">if</span> (!TestWF(pwnd, CBFOWNERDRAW))</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <span class="comment">// Add in CBS_HASSTRINGS if the style is implied...</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <a class="code" href="a00026.html#ab4added876586c5164dae9aaba3e7691">SetWindowState</a>(pwnd, CBFHASSTRINGS);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(HIBYTE(WFVSCROLL) == HIBYTE(WFHSCROLL));</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(HIBYTE(WFHSCROLL) == HIBYTE(WFBORDER));</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a>(pwnd, WFVSCROLL | WFHSCROLL | WFBORDER);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="comment">// If the window is 4.0 compatible or has a CLIENTEDGE, draw the combo</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// in 3D.  Otherwise, use a flat border.</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WFWIN40COMPAT) || TestWF(pwnd, WEFCLIENTEDGE))</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a0603f1c8507e826237901b97b1909f63">f3DCombo</a> = TRUE;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a>(pwnd, WEFEDGEMASK);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordflow">return</span> (LONG)TRUE;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00026_source.html#l02834">ClearWindowState()</a>, <a class="el" href="a00257_source.html#l00487">tagCBox::f3DCombo</a>, <a class="el" href="a00026_source.html#l02826">SetWindowState()</a>, <a class="el" href="a00257_source.html#l00492">tagCBox::styleSave</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<a id="a623170cc1b8ca4d08920f4215a4f1e0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a623170cc1b8ca4d08920f4215a4f1e0b">&#9670;&nbsp;</a></span>xxxCBCalcControlRects()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBCalcControlRects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPRECT&#160;</td>
          <td class="paramname"><em>lprcList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00247">247</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;{</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    HDC hdc;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    HANDLE hOldFont = NULL;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keywordtype">int</span>             dyEdit, dxEdit;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    MEASUREITEMSTRUCT mis;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    SIZE size;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    HWND hwnd = HWq(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>);</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndParent;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">     * Determine height of the edit control.  We can use this info to center</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">     * the button with recpect to the edit/static text window.  For example</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment">     * this will be useful if owner draw and this window is tall.</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    hdc = <a class="code" href="a00362.html#a1eefde3313bfafab921776948a45e595">NtUserGetDC</a>(hwnd);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a28addd302ddcd18f236d3df387de182d">hFont</a>) {</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        hOldFont = SelectObject(hdc, pcbox-&gt;<a class="code" href="a01889.html#a28addd302ddcd18f236d3df387de182d">hFont</a>);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    }</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="comment">// Add on CYEDGE just for some extra space in the edit field/static item.</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <span class="comment">// It&#39;s really only for static text items, but we want static &amp; editable</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="comment">// controls to be the same height.</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    GetTextExtentPoint(hdc, <a class="code" href="a00020.html#a2a5e5a7ee13c7db1bfafcd38bc110734">szOneChar</a>, 1, &amp;size);</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    dyEdit = size.cy + SYSMET(CYEDGE);</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keywordflow">if</span> (hOldFont) {</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        SelectObject(hdc, hOldFont);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    }</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160; </div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment">     * IanJa: was ReleaseDC(pcbox-&gt;hwnd, hdc);</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    NtUserReleaseDC(hwnd, hdc);</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a10cabd3870f697deba5823036713c506">OwnerDraw</a>) {</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        <span class="comment">// This is an ownerdraw combo.  Have the owner tell us how tall this</span></div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        <span class="comment">// item is.</span></div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keywordtype">int</span> iOwnerDrawHeight;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;        <span class="keywordflow">if</span> (iOwnerDrawHeight = pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom - pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top) {</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            dyEdit = iOwnerDrawHeight;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="comment">             * No height has been defined yet for the static text window.  Send</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment">             * a measure item message to the parent</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;            mis.CtlType = ODT_COMBOBOX;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            mis.CtlID = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">spmenu</a>;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;            mis.itemID = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)-1;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            mis.itemHeight = dyEdit;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;            mis.itemData = 0;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;            <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a6053af0b243b6737640988eb63081de3">spwndParent</a>, &amp;tlpwndParent);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            SendMessage(HW(pcbox-&gt;<a class="code" href="a01889.html#a6053af0b243b6737640988eb63081de3">spwndParent</a>), WM_MEASUREITEM, mis.CtlID, (<span class="keywordtype">long</span>)&amp;mis);</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;            ThreadUnlock(&amp;tlpwndParent);</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            dyEdit = mis.itemHeight;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        }</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    }</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="comment">     * Set the initial width to be the combo box rect.  Later we will shorten it</span></div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="comment">     * if there is a dropdown button.</span></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> = 2*SYSMET(CYFIXEDFRAME) + dyEdit;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    dxEdit = pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a> - (2 * SYSMET(CXFIXEDFRAME));</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160; </div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a> == <a class="code" href="a00059.html#a6c9ae73d4727e6cf547a4b330d7bb89f">RECALC_CYDROP</a>)</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    {</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;        <span class="comment">// recompute the max height of the dropdown listbox -- full window</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        <span class="comment">// size MINUS edit/static height</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a> = max((pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.bottom - pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.top) - pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>, 0);</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160; </div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        <span class="keywordflow">if</span> (!TestWF(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>, WFWIN40COMPAT) &amp;&amp; (pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a> == 23))</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;            <span class="comment">// This is VC++ 2.1&#39;s debug/release dropdown that they made super</span></div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;            <span class="comment">// small -- let&#39;s make &#39;em a wee bit bigger so the world can</span></div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;            <span class="comment">// continue to spin -- jeffbog -- 4/19/95 -- B#10029</span></div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a> = 28;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    }</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="comment">     * Determine the rectangles for each of the windows...  1.  Pop down button 2.</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="comment">     * Edit control or generic window for static text or ownerdraw...  3.  List</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">     * box</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <span class="comment">// Is there a button?</span></div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> &amp; SDROPPABLE) {</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="comment">// Determine button&#39;s rectangle.</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.top = SYSMET(CYEDGE);</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.bottom = pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> - SYSMET(CYEDGE);</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.right = pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a> - SYSMET(CXEDGE);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.left  = pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.right - SYSMET(CXVSCROLL);</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160; </div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="comment">// Reduce the width of the edittext window to make room for the button.</span></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        dxEdit = max(dxEdit - SYSMET(CXVSCROLL), 0);</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160; </div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="comment">         * No button so make the rectangle 0 so that a point in rect will always</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="comment">         * return false.</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        <a class="code" href="a00935.html#a6f9d1e9b327899127c080496900d48d9">SetRectEmpty</a>(&amp;pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>);</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    }</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="comment">// So now, the edit rect is really the item area.</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left      = SYSMET(CXFIXEDFRAME);</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.right     = pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left + dxEdit;</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top       = SYSMET(CYFIXEDFRAME);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom    = pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top + dyEdit;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160; </div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    lprcList-&gt;left          = 0;</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    lprcList-&gt;top           = pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>;</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    lprcList-&gt;right         = max(pcbox-&gt;<a class="code" href="a01889.html#acf1eb1af385b49af972c7e380df351c6">cxDrop</a>, pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a>);</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    lprcList-&gt;bottom        = pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> + pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a>;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00454">tagCBox::buttonrc</a>, <a class="el" href="a00257_source.html#l00464">tagCBox::CBoxStyle</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00257_source.html#l00456">tagCBox::cxCombo</a>, <a class="el" href="a00257_source.html#l00458">tagCBox::cxDrop</a>, <a class="el" href="a00257_source.html#l00457">tagCBox::cyCombo</a>, <a class="el" href="a00257_source.html#l00459">tagCBox::cyDrop</a>, <a class="el" href="a00257_source.html#l00452">tagCBox::editrc</a>, <a class="el" href="a00257_source.html#l00491">tagCBox::hFont</a>, <a class="el" href="a03614_source.html#l05248">NtUserGetDC()</a>, <a class="el" href="a00257_source.html#l00472">tagCBox::OwnerDraw</a>, <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>, <a class="el" href="a00059_source.html#l00019">RECALC_CYDROP</a>, <a class="el" href="a00935_source.html#l00414">SetRectEmpty()</a>, <a class="el" href="a00365_source.html#l01413">tagWND::spmenu</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a>, <a class="el" href="a00257_source.html#l00451">tagCBox::spwndParent</a>, <a class="el" href="a00020_source.html#l00052">szOneChar</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00059_source.html#l00071">xxxCBCreateHandler()</a> , 以及 <a class="el" href="a00059_source.html#l00571">xxxCBPosition()</a>.</p>

</div>
</div>
<a id="a13af899559060ebefbe9355a351de2cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13af899559060ebefbe9355a351de2cf">&#9670;&nbsp;</a></span>xxxCBCreateHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG xxxCBCreateHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPCREATESTRUCT&#160;</td>
          <td class="paramname"><em>lpcreateStruct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00071">71</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    LONG lStyleT;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    RECT rcList;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    HWND hwndList;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    HWND hwndEdit;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">     * Don&#39;t lock the combobox window: this would prevent WM_FINALDESTROY</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment">     * being sent to it, so pwnd and pcbox wouldn&#39;t get freed (zombies)</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">     * until thread cleanup. (IanJa)  LATER: change name from spwnd to pwnd.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment">     * Lock(&amp;pcbox-&gt;spwnd, pwnd); - caused a &#39;catch-22&#39;</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    Lock(&amp;(pcbox-&gt;<a class="code" href="a01889.html#a6053af0b243b6737640988eb63081de3">spwndParent</a>), REBASEPWND(pwnd, spwndParent));</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">     * Break out the style bits so that we will be able to create the listbox</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">     * and editcontrol windows.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFDROPDOWNLIST) == LOBYTE(CBFDROPDOWNLIST)) {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> = SDROPDOWNLIST;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">fNoEdit</a> = TRUE;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TestWF(pwnd, CBFDROPDOWN))</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> = SDROPDOWN;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> = SSIMPLE;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFUPPERCASE))</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">fCase</a> = UPPERCASE;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TestWF(pwnd, CBFLOWERCASE))</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">fCase</a> = LOWERCASE;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">fCase</a> = 0;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="comment">// Listbox item flags.</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFOWNERDRAWVAR))</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a10cabd3870f697deba5823036713c506">OwnerDraw</a> = OWNERDRAWVAR;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFOWNERDRAWFIXED)) {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a10cabd3870f697deba5823036713c506">OwnerDraw</a> = OWNERDRAWFIXED;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">     * Get the size of the combo box rectangle.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="comment">// Get control sizes.</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a> = pwnd-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.right - pwnd-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.left;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a>  = <a class="code" href="a00059.html#a6c9ae73d4727e6cf547a4b330d7bb89f">RECALC_CYDROP</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#acf1eb1af385b49af972c7e380df351c6">cxDrop</a>  = 0;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <a class="code" href="a00059.html#a623170cc1b8ca4d08920f4215a4f1e0b">xxxCBCalcControlRects</a>(pcbox, &amp;rcList);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="comment">// We need to do this because listboxes, as of VER40, have stopped</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">// reinflating themselves by CXBORDER and CYBORDER.</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">if</span> (!TestWF(pwnd, WFWIN40COMPAT))</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <a class="code" href="a00935.html#afa361f1e7cc3d9957b148ff982f8d030">InflateRect</a>(&amp;rcList, -SYSMET(CXBORDER), -SYSMET(CYBORDER));</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">     * Note that we have to create the listbox before the editcontrol since the</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">     * editcontrol code looks for and saves away the listbox pwnd and the</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">     * listbox pwnd will be NULL if we don&#39;t create it first.  Also, hack in</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">     * some special +/- values for the listbox size due to the way we create</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">     * listboxes with borders.</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    lStyleT = pcbox-&gt;<a class="code" href="a01889.html#a490b72753e38d9a9362e880de2544617">styleSave</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    lStyleT |= WS_CHILD | WS_VISIBLE | LBS_NOTIFY | LBS_COMBOBOX | WS_CLIPSIBLINGS;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WFDISABLED))</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        lStyleT |= WS_DISABLED;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFNOINTEGRALHEIGHT))</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        lStyleT |= LBS_NOINTEGRALHEIGHT;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFSORT))</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        lStyleT |= LBS_SORT;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFHASSTRINGS))</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        lStyleT |= LBS_HASSTRINGS;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, CBFDISABLENOSCROLL))</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        lStyleT |= LBS_DISABLENOSCROLL;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a10cabd3870f697deba5823036713c506">OwnerDraw</a> == OWNERDRAWVAR)</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        lStyleT |= LBS_OWNERDRAWVARIABLE;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a10cabd3870f697deba5823036713c506">OwnerDraw</a> == OWNERDRAWFIXED)</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        lStyleT |= LBS_OWNERDRAWFIXED;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> &amp; SDROPPABLE)</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        lStyleT |= WS_BORDER;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    hwndList = <a class="code" href="a03611.html#a6115159a3df3344553311b49547d1c93">_CreateWindowEx</a>(</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            ((pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> &amp; SDROPPABLE) ? WS_EX_TOOLWINDOW : WS_EX_CLIENTEDGE),</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            MAKEINTRESOURCE(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_COMBOLISTBOX]), NULL, lStyleT,</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            rcList.left, rcList.top, rcList.right - rcList.left,</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            rcList.bottom - rcList.top,</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            HW(pwnd), (HMENU)CBLISTBOXID, pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;hModule, NULL,</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            0, NULL);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    Lock(&amp;(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>), <a class="code" href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a>(hwndList));</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">if</span> (!pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>) {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">return</span> -1;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    }</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">     * Create either the edit control or the static text rectangle.</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">fNoEdit</a>) {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">         * No editcontrol so we will draw text directly into the combo box</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">         * window.</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">         * Don&#39;t lock the combobox window: this would prevent WM_FINALDESTROY</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">         * being sent to it, so pwnd and pcbox wouldn&#39;t get freed (zombies)</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment">         * until thread cleanup. (IanJa)  LATER: change name from spwnd to pwnd.</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment">         * Lock(&amp;(pcbox-&gt;spwndEdit), pcbox-&gt;spwnd); - caused a &#39;catch-22&#39;</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a> = pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwCsFlags;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        lStyleT = WS_CHILD | WS_VISIBLE | ES_COMBOBOX | ES_NOHIDESEL;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordflow">if</span> (TestWF(pwnd, WFDISABLED))</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            lStyleT |= WS_DISABLED;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordflow">if</span> (TestWF(pwnd, CBFAUTOHSCROLL))</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            lStyleT |= ES_AUTOHSCROLL;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <span class="keywordflow">if</span> (TestWF(pwnd, CBFOEMCONVERT))</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            lStyleT |= ES_OEMCONVERT;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">fCase</a>)</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            lStyleT |= (pcbox-&gt;<a class="code" href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">fCase</a> &amp; UPPERCASE) ? ES_UPPERCASE : ES_LOWERCASE;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="comment">         * Edit control need to know whether original CreateWindow*() call</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="comment">         * was ANSI or Unicode.</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        dwCsFlags = TestWF(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>, WFANSICREATOR) ? CW_FLAGS_ANSI : 0L;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        hwndEdit = <a class="code" href="a03611.html#a6115159a3df3344553311b49547d1c93">_CreateWindowEx</a>(0L,</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;            MAKEINTRESOURCE(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_EDIT]), NULL, lStyleT,</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left, pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top,</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.right - pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left, pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom -</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top, HW(pwnd), (HMENU)CBEDITID,</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;hModule, NULL,</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            dwCsFlags, NULL);</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        Lock(&amp;(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>), <a class="code" href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a>(hwndEdit));</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    }</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keywordflow">if</span> (!pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>)</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="keywordflow">return</span> -1L;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> &amp; SDROPPABLE) {</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <a class="code" href="a00362.html#af2e007664f2c2b68908d086861b77ddb">NtUserShowWindow</a>(hwndList, SW_HIDE);</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <a class="code" href="a00362.html#a5c4ac2a51330d47b84a800926d6ab3d4">NtUserSetParent</a>(hwndList, NULL);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="comment">// We need to do this so dropped size works right</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <span class="keywordflow">if</span> (!TestWF(pwnd, WFWIN40COMPAT))</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;            <a class="code" href="a00935.html#afa361f1e7cc3d9957b148ff982f8d030">InflateRect</a>(&amp;rcList, SYSMET(CXBORDER), SYSMET(CYBORDER));</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <a class="code" href="a00059.html#a33695e6e265d6129fb3c5a48d0a5eb28">xxxCBSetDroppedSize</a>(pcbox, &amp;rcList);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    }</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="comment">     * return anything as long as it&#39;s not -1L (-1L == error)</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keywordflow">return</span> (LONG)pwnd;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03611_source.html#l01360">_CreateWindowEx()</a>, <a class="el" href="a00365_source.html#l00998">tagSERVERINFO::atomSysClass</a>, <a class="el" href="a00257_source.html#l00464">tagCBox::CBoxStyle</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00257_source.html#l00456">tagCBox::cxCombo</a>, <a class="el" href="a00257_source.html#l00458">tagCBox::cxDrop</a>, <a class="el" href="a00257_source.html#l00459">tagCBox::cyDrop</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00257_source.html#l00452">tagCBox::editrc</a>, <a class="el" href="a00257_source.html#l00485">tagCBox::fCase</a>, <a class="el" href="a00257_source.html#l00488">tagCBox::fNoEdit</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00935_source.html#l00158">InflateRect()</a>, <a class="el" href="a03614_source.html#l04647">NtUserSetParent()</a>, <a class="el" href="a03614_source.html#l04899">NtUserShowWindow()</a>, <a class="el" href="a00257_source.html#l00472">tagCBox::OwnerDraw</a>, <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>, <a class="el" href="a00059_source.html#l00019">RECALC_CYDROP</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a>, <a class="el" href="a00257_source.html#l00461">tagCBox::spwndEdit</a>, <a class="el" href="a00257_source.html#l00462">tagCBox::spwndList</a>, <a class="el" href="a00257_source.html#l00451">tagCBox::spwndParent</a>, <a class="el" href="a00257_source.html#l00492">tagCBox::styleSave</a>, <a class="el" href="a00293_source.html#l00090">ValidateHwnd</a>, <a class="el" href="a00059_source.html#l00247">xxxCBCalcControlRects()</a> , 以及 <a class="el" href="a00059_source.html#l00599">xxxCBSetDroppedSize()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<a id="a101a4dab407e3672663d337298ba5a0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a101a4dab407e3672663d337298ba5a0f">&#9670;&nbsp;</a></span>xxxCBNcDestroyHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBNcDestroyHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00376">376</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;{</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160; </div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">     * If there is no pcbox, there is nothing to clean up.</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    <span class="keywordflow">if</span> (pcbox != NULL) {</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">         * Destroy the list box here so that it&#39;ll send WM_DELETEITEM messages</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="comment">         * before the combo box turns into a zombie.</span></div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a> != NULL) {</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;            <a class="code" href="a00362.html#a0aa1711ac96764929b5aec3aadb7af2f">NtUserDestroyWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>));</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;            Unlock(&amp;pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>);</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;        }</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a> = NULL;</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        Unlock(&amp;pcbox-&gt;<a class="code" href="a01889.html#a6053af0b243b6737640988eb63081de3">spwndParent</a>);</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="comment">         * If there is no editcontrol, spwndEdit is the combobox window which</span></div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="comment">         * isn&#39;t locked (that would have caused a &#39;catch-22&#39;).</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="keywordflow">if</span> (pwnd != pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>) {</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;            Unlock(&amp;pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>);</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        }</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="comment">         * Since a pointer and a handle to a fixed local object are the same.</span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <a class="code" href="a00236.html#ad272f936963b18f5b5975e78e6190c9e">FreeLookasideEntry</a>(&amp;<a class="code" href="a00059.html#ab40e1665f07e95a8a1695df5618660f0">ComboboxLookaside</a>, pcbox);</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    }</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160; </div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;<span class="comment">     * Set the window&#39;s fnid status so that we can ignore rogue messages</span></div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    <a class="code" href="a00362.html#abf4a1d1e53f7703a429cf806f38e0fcc">NtUserSetWindowFNID</a>(HWq(pwnd), FNID_CLEANEDUP_BIT);</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00053_source.html#l00016">ComboboxLookaside</a>, <a class="el" href="a00236_source.html#l00345">FreeLookasideEntry()</a>, <a class="el" href="a03614_source.html#l02870">NtUserDestroyWindow()</a>, <a class="el" href="a03614_source.html#l06170">NtUserSetWindowFNID()</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a>, <a class="el" href="a00257_source.html#l00461">tagCBox::spwndEdit</a>, <a class="el" href="a00257_source.html#l00462">tagCBox::spwndList</a> , 以及 <a class="el" href="a00257_source.html#l00451">tagCBox::spwndParent</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<a id="abddda518cee9ef304c77bcd7839a4e30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abddda518cee9ef304c77bcd7839a4e30">&#9670;&nbsp;</a></span>xxxCBPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBPosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00571">571</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;{</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    RECT rcList;</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160; </div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;    <span class="comment">// Calculate placement of components--button, item, list</span></div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <a class="code" href="a00059.html#a623170cc1b8ca4d08920f4215a4f1e0b">xxxCBCalcControlRects</a>(pcbox, &amp;rcList);</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160; </div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    <span class="keywordflow">if</span> (!pcbox-&gt;<a class="code" href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">fNoEdit</a>) {</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;        <a class="code" href="a01881.html">TL</a> tlpwndEdit;</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160; </div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;        <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>, &amp;tlpwndEdit);</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;        <a class="code" href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>), pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left, pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top,</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.right - pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left,</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom - pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top, TRUE);</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;        ThreadUnlock(&amp;tlpwndEdit);</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    }</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160; </div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;    <span class="comment">// Recalculate drop height &amp; width</span></div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <a class="code" href="a00059.html#a33695e6e265d6129fb3c5a48d0a5eb28">xxxCBSetDroppedSize</a>(pcbox, &amp;rcList);</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00452">tagCBox::editrc</a>, <a class="el" href="a00257_source.html#l00488">tagCBox::fNoEdit</a>, <a class="el" href="a03614_source.html#l01498">NtUserMoveWindow()</a>, <a class="el" href="a00257_source.html#l00461">tagCBox::spwndEdit</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a>, <a class="el" href="a00059_source.html#l00247">xxxCBCalcControlRects()</a> , 以及 <a class="el" href="a00059_source.html#l00599">xxxCBSetDroppedSize()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00059_source.html#l00425">xxxCBSetFontHandler()</a> , 以及 <a class="el" href="a00059_source.html#l00545">xxxCBSizeHandler()</a>.</p>

</div>
</div>
<a id="a33695e6e265d6129fb3c5a48d0a5eb28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33695e6e265d6129fb3c5a48d0a5eb28">&#9670;&nbsp;</a></span>xxxCBSetDroppedSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBSetDroppedSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPRECT&#160;</td>
          <td class="paramname"><em>lprc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00599">599</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;{</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndList;</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160; </div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a41f22a49cb001e7a271cd52129597f71">fLBoxVisible</a> = TRUE;</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    <a class="code" href="a00053.html#aed83fabdb22766337e1e9ddf4c9db0f8">xxxCBHideListBoxWindow</a>(pcbox, FALSE, FALSE);</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; </div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>, &amp;tlpwndList);</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;    <a class="code" href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>), lprc-&gt;left, lprc-&gt;top,</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;        lprc-&gt;right - lprc-&gt;left, lprc-&gt;bottom - lprc-&gt;top, FALSE);</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    ThreadUnlock(&amp;tlpwndList);</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160; </div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00471">tagCBox::fLBoxVisible</a>, <a class="el" href="a03614_source.html#l01498">NtUserMoveWindow()</a>, <a class="el" href="a00257_source.html#l00462">tagCBox::spwndList</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a> , 以及 <a class="el" href="a00053_source.html#l01497">xxxCBHideListBoxWindow()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00059_source.html#l00071">xxxCBCreateHandler()</a> , 以及 <a class="el" href="a00059_source.html#l00571">xxxCBPosition()</a>.</p>

</div>
</div>
<a id="a5d6513242dc63e1f3bcddd73bce7dfba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d6513242dc63e1f3bcddd73bce7dfba">&#9670;&nbsp;</a></span>xxxCBSetEditItemHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG xxxCBSetEditItemHeight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dyEdit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00467">467</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;{</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndEdit;</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndList;</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160; </div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>);</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; </div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    <span class="keywordflow">if</span> (dyEdit &gt; 255) {</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;        <a class="code" href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a>(ERROR_INVALID_EDIT_HEIGHT, <a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;        <span class="keywordflow">return</span> CB_ERR;</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;    }</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160; </div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom = pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top + dyEdit;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> = pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.bottom + SYSMET(CYFIXEDFRAME);</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160; </div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> &amp; SDROPPABLE) {</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a53929e32f1e062526f94455c636e6882">buttonrc</a>.bottom = pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> - SYSMET(CYEDGE);</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    }</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>, &amp;tlpwndEdit);</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>, &amp;tlpwndList);</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160; </div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; </div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;<span class="comment">     * Reposition the editfield.</span></div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<span class="comment">     * Don&#39;t let spwndEdit or List of NULL go through; if someone adjusts</span></div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;<span class="comment">     * the height on a NCCREATE; same as not having</span></div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;<span class="comment">     * HW instead of HWq but we don&#39;t go to the kernel.</span></div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;    <span class="keywordflow">if</span> ((!pcbox-&gt;<a class="code" href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">fNoEdit</a>) &amp;&amp; (pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a> != NULL)) {</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        <a class="code" href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>), pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left, pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.top,</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.right-pcbox-&gt;<a class="code" href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">editrc</a>.left, dyEdit, TRUE);</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;    }</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160; </div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;<span class="comment">     * Reposition the list and combobox windows.</span></div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a483879a0115f80176e3e2f16ed570039">CBoxStyle</a> == SSIMPLE) {</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a> != 0) {</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;            <a class="code" href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>), 0, pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>, pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a>,</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;                pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a>, FALSE);</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;            <a class="code" href="a00362.html#a97ea52174705d791899a9df860aab676">NtUserSetWindowPos</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>), HWND_TOP, 0, 0,</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;                pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a>, pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a> +</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;                pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.bottom - pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.top,</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;                SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        }</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keywordflow">if</span> (pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a> != NULL) {</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            <a class="code" href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>), pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.left,</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;                pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.top + pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>,</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;                max(pcbox-&gt;<a class="code" href="a01889.html#acf1eb1af385b49af972c7e380df351c6">cxDrop</a>, pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a>), pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a>, FALSE);</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        }</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        <a class="code" href="a00362.html#a97ea52174705d791899a9df860aab676">NtUserSetWindowPos</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>), HWND_TOP, 0, 0,</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;            pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a>, pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>,</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;            SWP_NOMOVE | SWP_NOZORDER | SWP_NOACTIVATE);</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    }</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160; </div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;    ThreadUnlock(&amp;tlpwndList);</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    ThreadUnlock(&amp;tlpwndEdit);</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; </div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;    <span class="keywordflow">return</span> CB_OKAY;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257_source.html#l00454">tagCBox::buttonrc</a>, <a class="el" href="a00257_source.html#l00464">tagCBox::CBoxStyle</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00257_source.html#l00456">tagCBox::cxCombo</a>, <a class="el" href="a00257_source.html#l00458">tagCBox::cxDrop</a>, <a class="el" href="a00257_source.html#l00457">tagCBox::cyCombo</a>, <a class="el" href="a00257_source.html#l00459">tagCBox::cyDrop</a>, <a class="el" href="a00257_source.html#l00452">tagCBox::editrc</a>, <a class="el" href="a00257_source.html#l00488">tagCBox::fNoEdit</a>, <a class="el" href="a03614_source.html#l01498">NtUserMoveWindow()</a>, <a class="el" href="a03614_source.html#l01716">NtUserSetWindowPos()</a>, <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>, <a class="el" href="a00371_source.html#l00030">RIP_VERBOSE</a>, <a class="el" href="a00371_source.html#l00119">RIPERR0</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a>, <a class="el" href="a00257_source.html#l00461">tagCBox::spwndEdit</a>, <a class="el" href="a00257_source.html#l00462">tagCBox::spwndList</a> , 以及 <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<a id="a2d694e16180603f4bdb423c96879f0f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d694e16180603f4bdb423c96879f0f3">&#9670;&nbsp;</a></span>xxxCBSetFontHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBSetFontHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hFont</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRedraw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00425">425</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;{</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndEdit;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwndList;</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>);</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>, &amp;tlpwndEdit);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;    <a class="code" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>, &amp;tlpwndList);</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a28addd302ddcd18f236d3df387de182d">hFont</a> = hFont;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160; </div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    <span class="keywordflow">if</span> (!pcbox-&gt;<a class="code" href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">fNoEdit</a>) {</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        <a class="code" href="a00041.html#a6bdc5311bb7640aba29656dd7bb4e71a">SendMessageWorker</a>(pcbox-&gt;<a class="code" href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">spwndEdit</a>, WM_SETFONT, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)hFont, FALSE, FALSE);</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    }</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160; </div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    <a class="code" href="a00041.html#a6bdc5311bb7640aba29656dd7bb4e71a">SendMessageWorker</a>(pcbox-&gt;<a class="code" href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">spwndList</a>, WM_SETFONT, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)hFont, FALSE, FALSE);</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="comment">// Recalculate the layout of controls.  This will hide the listbox also.</span></div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    <a class="code" href="a00059.html#abddda518cee9ef304c77bcd7839a4e30">xxxCBPosition</a>(pcbox);</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160; </div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;    <span class="keywordflow">if</span> (fRedraw) {</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        <a class="code" href="a00362.html#acfbb149ad39bc9929fb7063d4276e470">NtUserInvalidateRect</a>(HWq(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>), NULL, TRUE);</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;<span class="comment">// LATER UpdateWindow(HW(pcbox-&gt;spwnd));</span></div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    }</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; </div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    ThreadUnlock(&amp;tlpwndList);</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    ThreadUnlock(&amp;tlpwndEdit);</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00257_source.html#l00488">tagCBox::fNoEdit</a>, <a class="el" href="a00257_source.html#l00491">tagCBox::hFont</a>, <a class="el" href="a03614_source.html#l04092">NtUserInvalidateRect()</a>, <a class="el" href="a00041_source.html#l00258">SendMessageWorker()</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a>, <a class="el" href="a00257_source.html#l00461">tagCBox::spwndEdit</a>, <a class="el" href="a00257_source.html#l00462">tagCBox::spwndList</a>, <a class="el" href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock()</a> , 以及 <a class="el" href="a00059_source.html#l00571">xxxCBPosition()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<a id="aa47ac44195e11e959bb05409968dd6e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa47ac44195e11e959bb05409968dd6e8">&#9670;&nbsp;</a></span>xxxCBSizeHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxCBSizeHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00257.html#a0e71fed4fda7872f1712eca2edad533b">PCBOX</a>&#160;</td>
          <td class="paramname"><em>pcbox</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00059_source.html">comboini.c</a> 第 <a class="el" href="a00059_source.html#l00545">545</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;{</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>);</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160; </div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="comment">     * Assume listbox is visible since the app should size it to its maximum</span></div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;<span class="comment">     * visible size.</span></div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;    pcbox-&gt;<a class="code" href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">cxCombo</a> = pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.right - pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.left;</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;    <span class="comment">// only recalc cyDrop if the drop down is not TOTALLY nuked by the sizing</span></div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    <span class="comment">// -- Visio 1.0 -- B#13112</span></div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;    <span class="keywordflow">if</span> (((pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.bottom - pcbox-&gt;<a class="code" href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>.top) - pcbox-&gt;<a class="code" href="a01889.html#a785f6859e09ee684a479aabb402f2152">cyCombo</a>) &gt; 0)</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;        pcbox-&gt;<a class="code" href="a01889.html#a45cc2d87154891d4218d110cca70eb37">cyDrop</a> = <a class="code" href="a00059.html#a6c9ae73d4727e6cf547a4b330d7bb89f">RECALC_CYDROP</a>;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160; </div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;    <span class="comment">// Reposition everything.</span></div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    <a class="code" href="a00059.html#abddda518cee9ef304c77bcd7839a4e30">xxxCBPosition</a>(pcbox);</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00257_source.html#l00456">tagCBox::cxCombo</a>, <a class="el" href="a00257_source.html#l00457">tagCBox::cyCombo</a>, <a class="el" href="a00257_source.html#l00459">tagCBox::cyDrop</a>, <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>, <a class="el" href="a00059_source.html#l00019">RECALC_CYDROP</a>, <a class="el" href="a00257_source.html#l00450">tagCBox::spwnd</a> , 以及 <a class="el" href="a00059_source.html#l00571">xxxCBPosition()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="ab40e1665f07e95a8a1695df5618660f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab40e1665f07e95a8a1695df5618660f0">&#9670;&nbsp;</a></span>ComboboxLookaside</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00257.html#a8e3141575761c7ff2faf5a379f2c8797">LOOKASIDE</a> ComboboxLookaside</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00053_source.html">combo.c</a> 第 <a class="el" href="a00053_source.html#l00016">16</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a> , 以及 <a class="el" href="a00059_source.html#l00376">xxxCBNcDestroyHandler()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01889_html_a68937d60a6f49b7a8431db62b38ea721"><div class="ttname"><a href="a01889.html#a68937d60a6f49b7a8431db62b38ea721">tagCBox::spwnd</a></div><div class="ttdeci">struct tagWND * spwnd</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00450">usercli.h:450</a></div></div>
<div class="ttc" id="aa00041_html_a6bdc5311bb7640aba29656dd7bb4e71a"><div class="ttname"><a href="a00041.html#a6bdc5311bb7640aba29656dd7bb4e71a">SendMessageWorker</a></div><div class="ttdeci">LONG SendMessageWorker(PWND pwnd, UINT message, WPARAM wParam, LPARAM lParam, BOOL fAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a00041_source.html#l00258">clmsg.c:258</a></div></div>
<div class="ttc" id="aa01889_html_a6053af0b243b6737640988eb63081de3"><div class="ttname"><a href="a01889.html#a6053af0b243b6737640988eb63081de3">tagCBox::spwndParent</a></div><div class="ttdeci">struct tagWND * spwndParent</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00451">usercli.h:451</a></div></div>
<div class="ttc" id="aa00026_html_ab4added876586c5164dae9aaba3e7691"><div class="ttname"><a href="a00026.html#ab4added876586c5164dae9aaba3e7691">SetWindowState</a></div><div class="ttdeci">void SetWindowState(PWND pwnd, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02826">client.c:2826</a></div></div>
<div class="ttc" id="aa01889_html_a41f22a49cb001e7a271cd52129597f71"><div class="ttname"><a href="a01889.html#a41f22a49cb001e7a271cd52129597f71">tagCBox::fLBoxVisible</a></div><div class="ttdeci">UINT fLBoxVisible</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00471">usercli.h:471</a></div></div>
<div class="ttc" id="aa00362_html_abf4a1d1e53f7703a429cf806f38e0fcc"><div class="ttname"><a href="a00362.html#abf4a1d1e53f7703a429cf806f38e0fcc">NtUserSetWindowFNID</a></div><div class="ttdeci">BOOL NtUserSetWindowFNID(IN HWND hwnd, IN WORD fnid)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l06170">kernel/ntstubs.c:6170</a></div></div>
<div class="ttc" id="aa01889_html_a10cabd3870f697deba5823036713c506"><div class="ttname"><a href="a01889.html#a10cabd3870f697deba5823036713c506">tagCBox::OwnerDraw</a></div><div class="ttdeci">UINT OwnerDraw</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00472">usercli.h:472</a></div></div>
<div class="ttc" id="aa00362_html_a0aa1711ac96764929b5aec3aadb7af2f"><div class="ttname"><a href="a00362.html#a0aa1711ac96764929b5aec3aadb7af2f">NtUserDestroyWindow</a></div><div class="ttdeci">BOOL NtUserDestroyWindow(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l02870">kernel/ntstubs.c:2870</a></div></div>
<div class="ttc" id="aa00362_html_a5c4ac2a51330d47b84a800926d6ab3d4"><div class="ttname"><a href="a00362.html#a5c4ac2a51330d47b84a800926d6ab3d4">NtUserSetParent</a></div><div class="ttdeci">HWND NtUserSetParent(IN HWND hwndChild, IN HWND hwndNewParent)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04647">kernel/ntstubs.c:4647</a></div></div>
<div class="ttc" id="aa00059_html_a33695e6e265d6129fb3c5a48d0a5eb28"><div class="ttname"><a href="a00059.html#a33695e6e265d6129fb3c5a48d0a5eb28">xxxCBSetDroppedSize</a></div><div class="ttdeci">void xxxCBSetDroppedSize(PCBOX pcbox, LPRECT lprc)</div><div class="ttdef"><b>Definition:</b> <a href="a00059_source.html#l00599">comboini.c:599</a></div></div>
<div class="ttc" id="aa00059_html_a6c9ae73d4727e6cf547a4b330d7bb89f"><div class="ttname"><a href="a00059.html#a6c9ae73d4727e6cf547a4b330d7bb89f">RECALC_CYDROP</a></div><div class="ttdeci">#define RECALC_CYDROP</div><div class="ttdef"><b>Definition:</b> <a href="a00059_source.html#l00019">comboini.c:19</a></div></div>
<div class="ttc" id="aa03611_html_a6115159a3df3344553311b49547d1c93"><div class="ttname"><a href="a03611.html#a6115159a3df3344553311b49547d1c93">_CreateWindowEx</a></div><div class="ttdeci">HWND _CreateWindowEx(DWORD dwExStyle, LPCTSTR pClassName, LPCTSTR pWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hwndParent, HMENU hmenu, HANDLE hModule, LPVOID pParam, DWORD dwFlags, LPDWORD pWOW)</div><div class="ttdef"><b>Definition:</b> <a href="a03611_source.html#l01360">client/ntstubs.c:1360</a></div></div>
<div class="ttc" id="aa00371_html_ad6b24a3d61abdc148c8751b5c5add686"><div class="ttname"><a href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a></div><div class="ttdeci">#define RIP_VERBOSE</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00030">winerrp.h:30</a></div></div>
<div class="ttc" id="aa00059_html_ab40e1665f07e95a8a1695df5618660f0"><div class="ttname"><a href="a00059.html#ab40e1665f07e95a8a1695df5618660f0">ComboboxLookaside</a></div><div class="ttdeci">LOOKASIDE ComboboxLookaside</div><div class="ttdef"><b>Definition:</b> <a href="a00053_source.html#l00016">combo.c:16</a></div></div>
<div class="ttc" id="aa01889_html_a0603f1c8507e826237901b97b1909f63"><div class="ttname"><a href="a01889.html#a0603f1c8507e826237901b97b1909f63">tagCBox::f3DCombo</a></div><div class="ttdeci">UINT f3DCombo</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00487">usercli.h:487</a></div></div>
<div class="ttc" id="aa00362_html_a1eefde3313bfafab921776948a45e595"><div class="ttname"><a href="a00362.html#a1eefde3313bfafab921776948a45e595">NtUserGetDC</a></div><div class="ttdeci">HDC NtUserGetDC(IN HWND hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l05248">kernel/ntstubs.c:5248</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa01889_html_a45cc2d87154891d4218d110cca70eb37"><div class="ttname"><a href="a01889.html#a45cc2d87154891d4218d110cca70eb37">tagCBox::cyDrop</a></div><div class="ttdeci">int cyDrop</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00459">usercli.h:459</a></div></div>
<div class="ttc" id="aa01889_html_a15ff893b54d1beecbe69cfc960365b8a"><div class="ttname"><a href="a01889.html#a15ff893b54d1beecbe69cfc960365b8a">tagCBox::spwndList</a></div><div class="ttdeci">struct tagWND * spwndList</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00462">usercli.h:462</a></div></div>
<div class="ttc" id="aa01889_html_a28addd302ddcd18f236d3df387de182d"><div class="ttname"><a href="a01889.html#a28addd302ddcd18f236d3df387de182d">tagCBox::hFont</a></div><div class="ttdeci">HANDLE hFont</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00491">usercli.h:491</a></div></div>
<div class="ttc" id="aa01889_html_a785f6859e09ee684a479aabb402f2152"><div class="ttname"><a href="a01889.html#a785f6859e09ee684a479aabb402f2152">tagCBox::cyCombo</a></div><div class="ttdeci">int cyCombo</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00457">usercli.h:457</a></div></div>
<div class="ttc" id="aa00371_html_ae61d954062a9ece52e350e54cad9a23d"><div class="ttname"><a href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a></div><div class="ttdeci">#define RIPERR0(idErr, flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00119">winerrp.h:119</a></div></div>
<div class="ttc" id="aa00899_html_abfae1dfb48db23dcea4494f7990ad6a6"><div class="ttname"><a href="a00899.html#abfae1dfb48db23dcea4494f7990ad6a6">ThreadLock</a></div><div class="ttdeci">VOID ThreadLock(PVOID pobj, PTL ptl)</div></div>
<div class="ttc" id="aa01889_html_a3ceb7dbe82aa8772e6801b3348bf415c"><div class="ttname"><a href="a01889.html#a3ceb7dbe82aa8772e6801b3348bf415c">tagCBox::cxCombo</a></div><div class="ttdeci">int cxCombo</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00456">usercli.h:456</a></div></div>
<div class="ttc" id="aa01889_html_a490b72753e38d9a9362e880de2544617"><div class="ttname"><a href="a01889.html#a490b72753e38d9a9362e880de2544617">tagCBox::styleSave</a></div><div class="ttdeci">LONG styleSave</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00492">usercli.h:492</a></div></div>
<div class="ttc" id="aa00362_html_a4273ee771ddd5f3df4e5f365620c45f8"><div class="ttname"><a href="a00362.html#a4273ee771ddd5f3df4e5f365620c45f8">NtUserMoveWindow</a></div><div class="ttdeci">BOOL NtUserMoveWindow(IN HWND hwnd, IN int x, IN int y, IN int cx, IN int cy, IN BOOL fRepaint)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l01498">kernel/ntstubs.c:1498</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa00026_html_a0cecedf7a462633cf5456292b526d8ec"><div class="ttname"><a href="a00026.html#a0cecedf7a462633cf5456292b526d8ec">ClearWindowState</a></div><div class="ttdeci">void ClearWindowState(PWND pwnd, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00026_source.html#l02834">client.c:2834</a></div></div>
<div class="ttc" id="aa00362_html_a97ea52174705d791899a9df860aab676"><div class="ttname"><a href="a00362.html#a97ea52174705d791899a9df860aab676">NtUserSetWindowPos</a></div><div class="ttdeci">BOOL NtUserSetWindowPos(IN HWND hwnd, IN HWND hwndInsertAfter, IN int x, IN int y, IN int cx, IN int cy, IN UINT dwFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l01716">kernel/ntstubs.c:1716</a></div></div>
<div class="ttc" id="aa02581_html_ad680eabbc65eb4d160362e2c73a19994"><div class="ttname"><a href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">tagWND::spmenu</a></div><div class="ttdeci">struct tagMENU * spmenu</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01413">user.h:1413</a></div></div>
<div class="ttc" id="aa01881_html"><div class="ttname"><a href="a01881.html">_TL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00347">usercli.h:347</a></div></div>
<div class="ttc" id="aa02513_html_acfbb1bdf492ec9f7a21f0094adbbe948"><div class="ttname"><a href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">tagSERVERINFO::atomSysClass</a></div><div class="ttdeci">ATOM atomSysClass[ICLS_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00998">user.h:998</a></div></div>
<div class="ttc" id="aa02581_html_a2778d611c2b27395e559c94d05732e1f"><div class="ttname"><a href="a02581.html#a2778d611c2b27395e559c94d05732e1f">tagWND::rcWindow</a></div><div class="ttdeci">RECT rcWindow</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01398">user.h:1398</a></div></div>
<div class="ttc" id="aa00935_html_afa361f1e7cc3d9957b148ff982f8d030"><div class="ttname"><a href="a00935.html#afa361f1e7cc3d9957b148ff982f8d030">InflateRect</a></div><div class="ttdeci">BOOL APIENTRY InflateRect(LPRECT prc, int cx, int cy)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00158">rect.c:158</a></div></div>
<div class="ttc" id="aa00059_html_abddda518cee9ef304c77bcd7839a4e30"><div class="ttname"><a href="a00059.html#abddda518cee9ef304c77bcd7839a4e30">xxxCBPosition</a></div><div class="ttdeci">void xxxCBPosition(PCBOX pcbox)</div><div class="ttdef"><b>Definition:</b> <a href="a00059_source.html#l00571">comboini.c:571</a></div></div>
<div class="ttc" id="aa00362_html_af2e007664f2c2b68908d086861b77ddb"><div class="ttname"><a href="a00362.html#af2e007664f2c2b68908d086861b77ddb">NtUserShowWindow</a></div><div class="ttdeci">BOOL NtUserShowWindow(IN HWND hwnd, IN int nCmdShow)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04899">kernel/ntstubs.c:4899</a></div></div>
<div class="ttc" id="aa00362_html_acfbb149ad39bc9929fb7063d4276e470"><div class="ttname"><a href="a00362.html#acfbb149ad39bc9929fb7063d4276e470">NtUserInvalidateRect</a></div><div class="ttdeci">BOOL NtUserInvalidateRect(IN HWND hwnd, IN CONST RECT *prect OPTIONAL, IN BOOL bErase)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04092">kernel/ntstubs.c:4092</a></div></div>
<div class="ttc" id="aa01889_html_a2d22bfa9dcbd27c904993db8e1a916db"><div class="ttname"><a href="a01889.html#a2d22bfa9dcbd27c904993db8e1a916db">tagCBox::spwndEdit</a></div><div class="ttdeci">struct tagWND * spwndEdit</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00461">usercli.h:461</a></div></div>
<div class="ttc" id="aa00059_html_a623170cc1b8ca4d08920f4215a4f1e0b"><div class="ttname"><a href="a00059.html#a623170cc1b8ca4d08920f4215a4f1e0b">xxxCBCalcControlRects</a></div><div class="ttdeci">void xxxCBCalcControlRects(PCBOX pcbox, LPRECT lprcList)</div><div class="ttdef"><b>Definition:</b> <a href="a00059_source.html#l00247">comboini.c:247</a></div></div>
<div class="ttc" id="aa00020_html_a2a5e5a7ee13c7db1bfafcd38bc110734"><div class="ttname"><a href="a00020.html#a2a5e5a7ee13c7db1bfafcd38bc110734">szOneChar</a></div><div class="ttdeci">WCHAR szOneChar[]</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00052">clglobal.c:52</a></div></div>
<div class="ttc" id="aa01889_html_a53929e32f1e062526f94455c636e6882"><div class="ttname"><a href="a01889.html#a53929e32f1e062526f94455c636e6882">tagCBox::buttonrc</a></div><div class="ttdeci">RECT buttonrc</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00454">usercli.h:454</a></div></div>
<div class="ttc" id="aa00293_html_a41d387d1b2d42169cbaa2092c8a02abf"><div class="ttname"><a href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a></div><div class="ttdeci">#define ValidateHwnd(hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00090">immcli.h:90</a></div></div>
<div class="ttc" id="aa01889_html_a3cc74527fd96e48f412556e3f5e75e5e"><div class="ttname"><a href="a01889.html#a3cc74527fd96e48f412556e3f5e75e5e">tagCBox::editrc</a></div><div class="ttdeci">RECT editrc</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00452">usercli.h:452</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa01889_html_a61bb02e3130b4246892720f5fd8479a9"><div class="ttname"><a href="a01889.html#a61bb02e3130b4246892720f5fd8479a9">tagCBox::fCase</a></div><div class="ttdeci">UINT fCase</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00485">usercli.h:485</a></div></div>
<div class="ttc" id="aa00899_html_a70b09c3e2b495630f4205d34be505afb"><div class="ttname"><a href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a></div><div class="ttdeci">VOID CheckLock(PVOID pobj)</div></div>
<div class="ttc" id="aa00053_html_aed83fabdb22766337e1e9ddf4c9db0f8"><div class="ttname"><a href="a00053.html#aed83fabdb22766337e1e9ddf4c9db0f8">xxxCBHideListBoxWindow</a></div><div class="ttdeci">BOOL xxxCBHideListBoxWindow(PCBOX pcbox, BOOL fNotifyParent, BOOL fSelEndOK)</div><div class="ttdef"><b>Definition:</b> <a href="a00053_source.html#l01497">combo.c:1497</a></div></div>
<div class="ttc" id="aa00935_html_a6f9d1e9b327899127c080496900d48d9"><div class="ttname"><a href="a00935.html#a6f9d1e9b327899127c080496900d48d9">SetRectEmpty</a></div><div class="ttdeci">BOOL APIENTRY SetRectEmpty(LPRECT prc)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00414">rect.c:414</a></div></div>
<div class="ttc" id="aa00236_html_ad272f936963b18f5b5975e78e6190c9e"><div class="ttname"><a href="a00236.html#ad272f936963b18f5b5975e78e6190c9e">FreeLookasideEntry</a></div><div class="ttdeci">void FreeLookasideEntry(PLOOKASIDE pla, PVOID pEntry)</div><div class="ttdef"><b>Definition:</b> <a href="a00236_source.html#l00345">rtlinit.c:345</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa01889_html_a483879a0115f80176e3e2f16ed570039"><div class="ttname"><a href="a01889.html#a483879a0115f80176e3e2f16ed570039">tagCBox::CBoxStyle</a></div><div class="ttdeci">UINT CBoxStyle</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00464">usercli.h:464</a></div></div>
<div class="ttc" id="aa01889_html_a3d504d1fbd4e573e6e9c755e161af9e4"><div class="ttname"><a href="a01889.html#a3d504d1fbd4e573e6e9c755e161af9e4">tagCBox::fNoEdit</a></div><div class="ttdeci">UINT fNoEdit</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00488">usercli.h:488</a></div></div>
<div class="ttc" id="aa01889_html_acf1eb1af385b49af972c7e380df351c6"><div class="ttname"><a href="a01889.html#acf1eb1af385b49af972c7e380df351c6">tagCBox::cxDrop</a></div><div class="ttdeci">int cxDrop</div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00458">usercli.h:458</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00059.html">comboini.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
